﻿using Base.Data.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Base.Api.Models
{
    public class MemberAuthMenuModel
    {
        public MemberAuthMenuModel()
        {
            this.AuthRoles = new List<t_role>();
            this.AuthRoleGroups = new List<t_role_group>();
            this.Menus = new List<AuthMenuModel>();
            this.Forms = new List<AuthRoleAuthFormModel>();
        }

        public string Id { get; set; }

        public string Name { get; set; }

        public string Code { get; set; }

        public List<t_role> AuthRoles { get; set; }

        public List<t_role_group> AuthRoleGroups { get; set; }

        public List<AuthMenuModel> Menus { get; set; }

        public List<AuthRoleAuthFormModel> Forms { get; set; }
    }
}
